package com.woniu.account.service;

import com.github.pagehelper.PageInfo;
import com.woniu.account.dto.venueAdmin.VenueAdminDto;
import com.woniu.account.model.VenueAdmin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.account.param.venueAccount.AddVenueAdminParam;
import com.woniu.account.param.venueAccount.VenueAdminLoadParam;
import com.woniu.account.param.venueAccount.VenueAdminLoginParam;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月11日
 */
public interface VenueAdminService extends IService<VenueAdmin> {

    VenueAdminDto login(VenueAdminLoginParam toBean);

    PageInfo<VenueAdminDto> load(VenueAdminLoadParam param);

    void changeState(Integer venueAdminId, Integer state);

    VenueAdminDto addVenueAdmin(AddVenueAdminParam toBean);

    List<VenueAdminDto> getVenueCoachsById(Integer roleId, Integer venueId);

    List<VenueAdminDto> getByIds(Set<Integer> ids);
}
